package com.supermarket.api.repository;

import com.supermarket.api.entity.OrderItemEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 订单细则相关
 * @author 李其伟
 * @date 2023/11/11
 */
@Repository
public interface OrderItemRepository extends JpaRepository<OrderItemEntity, Long> {

    List<OrderItemEntity> findAllByOrderSnIn(List<String> orderSn);

}
